-
-
Notifications
You must be signed in to change notification settings - Fork 13.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
immich-cli: 0.41.0 -> 2.0.6 #279832
immich-cli: 0.41.0 -> 2.0.6 #279832
Conversation
@ofborg eval |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please ask upstream to separately tag CLI releases if they don't share a version number.
buildNpmPackage rec { | ||
pname = "immich-cli"; | ||
version = "0.41.0"; | ||
# version of immich and immich cli differes | ||
version = (builtins.fromJSON (builtins.readFile "${src}/cli/package.json")).version; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is an import from derivation which is not allowed in nixpkgs.
|
||
meta = { | ||
changelog = "https://github.com/immich-app/CLI/releases/tag/${src.rev}"; | ||
changelog = "https://github.com/immich-app/immich/releases/tag/v${immich_version}"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changelog = "https://github.com/immich-app/immich/releases/tag/v${immich_version}"; | |
changelog = "https://github.com/immich-app/immich/releases/tag/${src.rev}"; |
|
||
immich_version = "1.92.1"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
immich_version = "1.92.1"; |
rev = "v${version}"; | ||
hash = "sha256-BpJNssNTJZASH5VTgTNJ0ILj0XucWvyn3Y7hQdfCEGQ="; | ||
repo = "immich"; | ||
rev = "v${immich_version}"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rev = "v${immich_version}"; | |
rev = "v1.92.1"; |
7f9cd10
to
9ee63bb
Compare
Thanks for the review! Updated the code.
I was not falimiar with the import from derivation case. (I kind of asumed that if it compiles, it is okay.) |
Yes, but |
@@ -2,26 +2,30 @@ | |||
, buildNpmPackage | |||
, fetchFromGitHub | |||
}: | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why remove this line?
|
||
meta = { | ||
changelog = "https://github.com/immich-app/CLI/releases/tag/${src.rev}"; | ||
changelog = "https://github.com/immich-app/immich/releases/tag/v1.92.1"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't list the CLI changes.
9ee63bb
to
8a0e837
Compare
8a0e837
to
e9a0f9b
Compare
@dotlambda Thanks again for the review! |
Description of changes
Updates immich-cli to version 2.0.6
The immich cli version is different from immich repo, so version is imported from package.json.
closes #274787
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.